var sys = require('sys'), fs = require('fs'), cp = require('child_process');

function triggerReload() {
	var src = __dirname + "../hello", dst = __dirname + "../remote";
	var cmd = 'rsync -a -exclude .svn ' + src + ' ' + dst;
	sys.puts(cmd);
	cp.exec(cmd, function() {
		sys.puts('finished');
	});
//	_client.send('reload');
}

triggerReload();
